Skip to content

Defaults to operator configuration.#693

Open
pierreozoux wants to merge 4 commits into
zalando:masterfrom
pierreozoux:defaults_to_operator-conf
Open

Defaults to operator configuration.#693
pierreozoux wants to merge 4 commits into
zalando:masterfrom
pierreozoux:defaults_to_operator-conf

Conversation

@pierreozoux

Copy link
Copy Markdown

In the doc, this is now thee recommendation.

@FxKu

FxKu commented Oct 23, 2019

Copy link
Copy Markdown
Contributor

It requires more changes to switch to CRD-based config as the default. Currently, the deployment registers the OperatorConfiguration CRD. So this has to happen first before applying the configuration manifest. Unfortunately, when we reference the configuration manifest already in the deployment it causes the operator pod to fail until we apply the configuration yaml. Providing a CRD yaml that one can apply first would solve this issue.

On the other hand using the CRD-based config over the ConfigMap only makes a difference if we would also provide CRD validation. There's already #599 for this. The PR also contains a yaml for both CRDs the operator is using. I've already included your idea there :)

@pierreozoux

Copy link
Copy Markdown
Author

Great! Then I close mine ;)

Comment thread manifests/postgresql-operator-default-configuration.yaml Outdated
@FxKu FxKu requested a review from mikkeloscar as a code owner June 25, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants